package models

import (
	"time"
)

// Alarm Model
type Alarm struct {
	ID                  int `json:"id"`
	AlarmDefinitionID   int
	Status              int `json:"status"`
	CurrEscalationLevel string
	CreatedBy           string
	CreatedTime         time.Time
	UpdateBy            string
	UpdatedTime         time.Time
	FirstTime           time.Time
}

// TableName should be  `alarm_record`
func (Alarm) TableName() string {
	return "alarm_record"
}

/*
	Alarm这个Model的增删改查操作都放在这里
*/
